using System;

namespace eduSrc.Models
{
    [Serializable]
    public class Critique
    {
        #region Private Fields

        private int _id = 0;
        private String _moduleCn = String.Empty;
        private int _topicID = 0;
        private int _userID = 0;
        private String _userName = String.Empty;
        private String _subject = String.Empty;
        private String _context = String.Empty;
        private String _ip = String.Empty;
        private DateTime _recordTime = DateTime.Now;

        #endregion 

        #region Properties

        public int ID
        {
            set { _id = value; }
            get { return _id; }
        }

        public String ModuleCn
        {
            set { _moduleCn = value; }
            get { return _moduleCn; }
        }

        public int TopicID
        {
            set { _topicID = value; }
            get { return _topicID; }
        }

        public int UserID
        {
            set { _userID = value; }
            get { return _userID; }
        }

        public String UserName
        {
            set { _userName = value; }
            get { return _userName; }
        }

        public String Subject
        {
            set { _subject = value; }
            get { return _subject; }
        }

        public String Context
        {
            set { _context = value; }
            get { return _context; }
        }

        public String Ip
        {
            set { _ip = value; }
            get { return _ip; }
        }

        public DateTime RecordTime
        {
            set { _recordTime = value; }
            get { return _recordTime; }
        }

        #endregion
    }
}
